package com.example.feign.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Author: zhangtong
 * @Date: 2018/9/12 上午11:04
 */

@FeignClient(value = "hello-service", fallback = ScheduleServiceHiHystric.class)
public interface ScheduleService {
    @GetMapping("/hello")
    String hello();
}
